package com.qbw.app;

/**
 * @author qinbaowei
 * @date 2018/1/27
 * @email qbaowei@qq.com
 */

public class Constant {
    public static final int D_TYPE_UPDATE = -1;
    public static final String KEY_MAP = "key_map";
    public static final String MAP_BAIDU = "map_baidu";
    public static final String MAP_GOOGLE = "map_google";
    public static final String MAP_DEFAULT = MAP_BAIDU;
    public static final String KEY_UNIT = "key_unit";
    public static final String UNIT_KPH = "unit_kph";
    public static final String UNIT_MPH = "unit_mph";
    public static final String UNIT_DEFAULT = UNIT_KPH;
    public static final String KEY_TITLE = "key_title";
    public static final String KEY_TYPE = "key_type";
    public static final String KEY_HINT = "key_hint";
    public static final String KEY_MAX_LENGTH = "key_max_length";
    public static final String KEY_USERINFO = "key_userinfo";
    public static final String KEY_TELCODE_TEMP = "key_telcode_temp";
    public static final String KEY_PHONE_TEMP = "key_phone_temp";
    public static final String KEY_VEHICLE = "key_vehicle";
    public static final String KEY_VEHICLE_LIST = "key_vehicle_list";
    public static final String KEY_LAT = "key_lat";
    public static final String KEY_LNG = "key_lng";
    public static final String KEY_SELECTED_COUNTRY = "key_selected_country";
    public static final String KEY_ALL_COUNTRYS = "key_all_countrys";
    public static final String KEY_LAST_LOGIN_COUNTRY_AREA = "key_last_login_country_area";
    public static final String KEY_LAST_LOGIN_PHONE = "key_last_login_phone";
    public static final String KEY_VEHICLE_CODE = "vehicle_code";
    public static final String KEY_WARNING = "warning";
    public static final String KEY_LOCATION = "key_location";
    public static final String KEY_GPS = "key_gps";
    public static final String KEY_TRAVEL = "key_travel";
    public static final String KEY_GRAVITY = "key_gravity";
    public static final String KEY_POSITIVE_BUTTON_TEXT = "key_positive_button_text";
    public static final String KEY_WARNING_MODE_LIST = "key_warning_mode_list";
    public static final String KEY_FENCEID = "key_fenceid";
    public static final String KEY_FENCE = "key_fence";
    public static final String KEY_VALUE = "key_value";
    public static final String KEY_EVENT_TYPE_CONFIG = "key_event_type_config";
    public static final String KEY_FAULT = "key_fault";
    public static final String KEY_DEFAULT_VALUE = "key_default_value";
    public static final String KEY_TAG = "key_tag";

    public static final String KEY_AES  = "key_aes";
    public static final String KEY_TBOX = "key_tbox";
    public static final String KEY_ACC_STATUS = "key_acc_status";
    public static final String KEY_VEHICLECODE = "key_vehicle_code";
    public static final String KEY_BT_STATUS = "key_bt_status";
    public static final String KEY_BT_VERSIONNO = "key_bt_version_no";
    public static final String KEY_BT_VERSION_NAME = "key_bt_version_name";
    public static final String KEY_BT_FIRMWARE_UPGRADE_SUCCESSFUL = "key_bt_firmware_upgrade_successful";
    public static final String KEY_BT_OTA_MODEL = "key_bt_ota_model";


    public static final int ESTIMATE_DISTANCE_STATE_NORMAL = 1;
    public static final int ESTIMATE_DISTANCE_STATE_NO_DATA = 0;
    public static final int VEHICLE_STATUS_INVALID = 0;
    public static final int VEHICLE_STATUS_OFFLINE = 1;
    public static final int VEHICLE_STATUS_DRIVING = 3;
    public static final int VEHICLE_STATUS_FLAMEOUT = 2;
    public static final int VEHICLE_STATUS_ILLEGAL_MOVE = 4;
    public static final int LANGUAGE_ID_ENGLISH = 10000;
    public static final int LANGUAGE_ID_CHINESE = 1;
    public static final int PAGESIZE_10 = 10;
    public static final int PAGESIZE_20 = 20;


    /**
     * 熄火后震动
     */
    public static final int EVENT_SHOCK_AFTER_STALLING = 600011;
    /**
     * 疑似碰撞
     */
    public static final int EVENT_POSSIBLE_CRASH = 300002;
    /**
     * 疑似翻车
     */
    public static final int EVENT_POSSIBLE_ROLLOVER = 300001;
    /**
     * 设备拔出
     */
    public static final int EVENT_DEVICE_OUT = 700004;
    /**
     * 非法位移
     */
    public static final int EVENT_ILLEGAL_MOVE = 300003;
    /**
     * 驶入电子围栏
     */
    public static final int EVENT_ELEC_AREA_IN = 500001;
    /**
     * 驶出电子围栏
     */
    public static final int EVENT_ELEC_AREA_OUT = 500002;
    /**
     * 急加速
     */
    public static final int EVENT_INCREASE_SPEED = 200008;
    /**
     * 急减速
     */
    public static final int EVENT_REDUCE_SPEED = 200009;
    /**
     * 急转弯
     */
    public static final int EVENT_TURN_HURRY = 200010;
    /**
     * 电瓶低电
     */
    public static final int EVENT_LOWER_ELE = 100025;
    /**
     * 普通验证码
     */
    public static final int VERIFYCODE_TYPE_NORMAL = 1;
    /**
     * 注册验证码
     */
    public static final int VERIFYCODE_TYPE_REGIST = 2;
    /**
     * 重置密码验证码
     */
    public static final int VERIFYCODE_TYPE_RESET_PASSWORD = 3;
    /**
     * 电子围栏关闭
     */
    public static final int ELECTRIC_AREA_STATE_CLOSE = 0;
    /**
     * 电子围栏开启
     */
    public static final int ELECTRIC_AREA_STATE_OPEN = 1;
    /**
     * 电子围栏驶入
     */
    public static final int ELECTRIC_AREA_MODE_IN = 1;
    /**
     * 电子围栏驶出
     */
    public static final int ELECTRIC_AREA_MODE_OUT = 2;
    public static final int ELECTRIC_AREA_ADD = 0;
    public static final int ELECTRIC_AREA_EDIT = 1;

    /**
     * 告警开
     */
    public static final int WARNING_NOTIFICATION_OPEN = 1;
    /**
     * 告警关
     */
    public static final int WARNING_NOTIFICATION_CLOSED = 0;

    public static final String URL_ABOUT = "http://www.Gosunwelink.com";
    public static final String URL_USER_PROTOCOL = "https://magicyo.com/d/Nuoma-UserAgreementEh.html";

    public static final int TRAVEL_LINE_WIDTH = 10;
}
